﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
                    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
                    xmlns:cal="http://www.caliburnproject.org"
                    xmlns:ViewModels="clr-namespace:TecX.Agile.Modules.Gestures.ViewModels"
                    mc:Ignorable="d">
    <DataTemplate DataType="{x:Type ViewModels:GestureViewModel}">
        <InkCanvas
            Cursor="Arrow"
            ForceCursor="True"
            EditingMode="GestureOnly"
            HorizontalAlignment="Stretch"
            VerticalAlignment="Stretch"
            Background="Transparent"
            cal:Message.Attach="[Event Gesture] = [Action Gesture($eventArgs)]">
            <InkCanvas.DefaultDrawingAttributes>
                <DrawingAttributes Color="GreenYellow" />
            </InkCanvas.DefaultDrawingAttributes>
        </InkCanvas>
    </DataTemplate>
</ResourceDictionary>
